<template>
  <div class="big">
    <div class="only">
      <div class="only_one"></div>
      <div class="only_two"></div>
      <div class="only_three"></div>
    </div>
  </div>
</template>

<script>
import "./gotalk.scss";
export default {
  data() {
    return {
      id: "",
      name: "",
      time: "",
      title: "",
      wantarea: "",
      wantprice: "",
      img: "",
      list: [],
      lists: [],  
    };
  },
  async onload(option) {
    var newlist = JSON.parse(option.dataList);
    this.lists = newlist;
    this.list = newlist[option.index];
    this.name = newlist[option.index].name;
    this.time = newlist[option.index].time;
    this.title = newlist[option.index].title;
    this.wantarea = newlist[option.index].wantarea;
    this.wantprice = newlist[option.index].wantprice;
    this.img = newlist[option.index].img;

    this.price = newlist[option.index].price;
    console.log(option.title);
    console.log(this.listtwo);
  },
};
</script>

<style>
</style>